package com.yby6.common.core.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Collections;
import java.util.List;

/**
 * @program: yangbuyi-rbac
 * @ClassName: ActiveUser
 * @create: 2021-05-14 16:26
 * @author: Yang Shuai
 * @since： JDK1.8
 * @ActiveUser: $
 **/

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ActiveUser implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 用户实体
	 */
	private SysUser sysUser;

	/**
	 * 用户角色
	 */
	private List<String> roles= Collections.emptyList();

	/**
	 * 用户权限
	 */
	private List<String> permissions=Collections.emptyList();
}